From: Doug Goldstein Date: Tue, 12 Jan 2016 10:27:49 +0000 (+0100) Subject: x86: convert bigmem to Kconfig X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1981 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=165f36d5fa60ade72f691fbb81aad0a2cadaca37;p=xen.git x86: convert bigmem to Kconfig Convert the bigmem build option to Kconfig. Signed-off-by: Doug Goldstein --- diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index 7d2ed969ee..d6297679bf 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -25,6 +25,17 @@ config ARCH_DEFCONFIG menu "Architecture Features" +config BIGMEM + bool "big memory support" + default n + ---help--- + Allows Xen to support up to 123Tb of memory. + + This requires enlarging struct page_info as well as shrinking + the always accessible direct mapped memory range. + + If unsure, say N. + endmenu source "common/Kconfig" diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index b76a7547a3..a108d24a35 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -23,7 +23,6 @@ $(call as-insn-check,CFLAGS,CC,".equ \"x\"$$(comma)1", \ '-D__OBJECT_LABEL__=$(subst $(BASEDIR)/,,$(CURDIR))/$$@') shadow-paging ?= y -bigmem ?= n CFLAGS += -mno-red-zone -mno-sse -fpic CFLAGS += -fno-asynchronous-unwind-tables @@ -33,4 +32,3 @@ CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE endif CFLAGS-$(shadow-paging) += -DCONFIG_SHADOW_PAGING -CFLAGS-$(bigmem) += -DCONFIG_BIGMEM